[DEPRECATED] Use form field endpoints instead. Update a specific workflow custom field selection by id
curl --request PUT \
--url https://api.rootly.com/v1/workflow_custom_field_selections/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "workflow_custom_field_selections",
"attributes": {
"incident_condition": "ANY",
"values": [
"<string>"
],
"selected_option_ids": [
123
]
}
}
}'
{
"data": {
"id": "1",
"type": "workflow_custom_field_selections",
"attributes": {
"custom_field_id": 166,
"workflow_id": "af287b13-60a3-4d1d-9d81-2f5d41fe4326",
"incident_condition": "IS",
"values": [],
"selected_option_ids": []
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
workflow_custom_field_selection updated
The response is of type object
.
curl --request PUT \
--url https://api.rootly.com/v1/workflow_custom_field_selections/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "workflow_custom_field_selections",
"attributes": {
"incident_condition": "ANY",
"values": [
"<string>"
],
"selected_option_ids": [
123
]
}
}
}'
{
"data": {
"id": "1",
"type": "workflow_custom_field_selections",
"attributes": {
"custom_field_id": 166,
"workflow_id": "af287b13-60a3-4d1d-9d81-2f5d41fe4326",
"incident_condition": "IS",
"values": [],
"selected_option_ids": []
}
}
}